dir "object_detection\protos\*.proto" > object_dection_protos.txt

 for /f "skip=5 tokens=3* delims= " %%a in (object_dection_protos.txt) do (
 if not "%%a"=="<DIR>" if not "%%b"=="bytes" if not "%%b"=="bytes free"  protoc "object_detection\protos\%%b" --python_out=.
)
del object_dection_protos.txt
pause